//
//  AppDelegate.h
//  soccer
//
//  Created by 上官千城 on 15/9/1.
//  Copyright (c) 2015年 上官千城. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "nightTabBarViewController.h"
#import "RESideMenu.h"
#import "LeftViewController.h"
#import "ConsultSegmentController.h"
#import "RegisteredController.h"
#import "LoginViewController.h"
#import "Account.h"
#import "ContactsViewController.h"
#import "OUserRegLogic.h"
#import "OLoginLogic.h"
#import "OEnterApp.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate,BaseTDelegate,RESideMenuDelegate,setLoginRootViewController>
{
    EMConnectionState _connectionState;
}
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) MainViewController *mainController;

@property(strong,nonatomic)RESideMenu *sideMenuViewController;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property(nonatomic,strong) NSMutableDictionary* httpSessionDic;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;


@end

